package com.liy.cloud.common.pw.service.impl;

import com.liy.cloud.common.pw.dao.PwMoneyDiffDao;
import com.liy.cloud.common.pw.entity.PwMoneyDiffEntity;
import com.liy.cloud.common.pw.service.PwMoneyDiffService;
import com.das.framework.common.dao.IBaseDao;
import com.das.framework.common.service.impl.BaseServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: liyang
 * @author 
 * @date: 2018-07-26 18:36:21
 */
@Service
public class PwMoneyDiffServiceImpl extends BaseServiceImpl<PwMoneyDiffEntity, String> implements PwMoneyDiffService {

  @Autowired
  private PwMoneyDiffDao moneyDiffDao;
  
  @Override
  public IBaseDao<PwMoneyDiffEntity, String> getDao() {
    return moneyDiffDao;
  }

  @Override
  public PwMoneyDiffEntity findLastOne() {
    return moneyDiffDao.selectLastOne();
  }
}